package com.xpgk.dto;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import com.xpgk.mvc.base.BaseModel;
/**
 * Render返回JSON数据封装
 */
public class RenderBean implements Serializable{
	
	private static final long serialVersionUID = -1126196958137979710L;

	/**
	 * 状态：成功success、失败error
	 */
	private String status = "";
	
	/**
	 * 状态码
	 */
	private String code = "";

	/**
	 * 描述
	 */
	private String msg = "";
	
	/**
	 * 正常情况下返回的数据
	 */
	private Object data;
	
	private BaseModel mode;
	
	private Map<String,String>  map=new HashMap<String, String>();
	
	
	
	
	
	public Map getMap() {
		return map;
	}

	public void setMap(Map map) {
		this.map = map;
	}

	public BaseModel getMode() {
		return mode;
	}

	public void setMode(BaseModel mode) {
		this.mode = mode;
	}

	

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}
